Skip to content

RATIS-2578. Automate more steps of ratis-thirdparty release#147

Merged
adoroszlai merged 5 commits into
apache:masterfrom
adoroszlai:RATIS-2578
Jul 27, 2026
Merged

RATIS-2578. Automate more steps of ratis-thirdparty release#147
adoroszlai merged 5 commits into
apache:masterfrom
adoroszlai:RATIS-2578

Conversation

@adoroszlai

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  • Automate more steps of Ratis Thirdparty release by adapting make_rc.sh script from Ratis. There are a few differences (e.g. the way tarballs are created), so the scripts are not shared (reused).
  • Add a brand new step: generate draft of the vote email (it is not sent, just printed in the console).
  • Test the first few steps of the release process in CI.

https://issues.apache.org/jira/browse/RATIS-2578

How was this patch tested?

Tested during preparation of RCs for ratis-thirdparty-1.1.0.

https://github.com/adoroszlai/ratis-thirdparty/actions/runs/29500131488

@adoroszlai adoroszlai self-assigned this Jul 16, 2026

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adoroszlai , thanks for working on this! Just have two suggestions inlined.

Comment thread dev-support/make_rc.sh
Comment on lines +234 to +235
12. Publish maven repository at https://repository.apache.org/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Set release information at JIRA: https://issues.apache.org/jira/plugins/servlet/project-config/RATIS/administer-versions

  2. Set release information at report database: https://reporter.apache.org/addrelease.html?ratis

  3. Update version in pom.xml to the next SNAPSHOT version.

Comment thread dev-support/make_rc.sh
MAVEN_OPTS="${mvnopts}" ${MVN} -Dmaven.repo.local="${repodir}" "$@"
}

1-prepare-src() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a script to change the year in NOTICE:

YEAR=`grep "Copyright" NOTICE | sed -e 's/Copyright 2017-\([0-9]\{4\}\).*/\1/g'`
CURRENT=$(date +%Y)
if [ $YEAR = $CURRENT ] ; then
else
  echo "NOTICE year $YEAR is not current $CURRENT"
fi

Just found that the year in ratis is still 2023: https://github.com/apache/ratis/blob/master/NOTICE

@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @szetszwo for the suggestions, incorporated them (slightly modified).

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@adoroszlai
adoroszlai merged commit a1ece9e into apache:master Jul 27, 2026
7 checks passed
@adoroszlai
adoroszlai deleted the RATIS-2578 branch July 27, 2026 07:48
@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @szetszwo for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants